﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using br.com.SistemaChamados.Model.Common;

/// <summary>
/// Summary description for Call
/// </summary>
/// 
namespace br.com.SistemaChamados.Model
{
    public class Call
    {
        private int _id;        
        private DateTime? _dateOpening;
        private DateTime? _dateClosing;
        private string _problemDescription;
        private string _solutionDescription;
        private User _userOpen;
        private User _userFinish;
        private CallStatus _callStatus;
        private CallSubCategory _callSubCategory;
        private List<Annex> _annex;
        private string _observation;

        public CallSubCategory CallSubCategory
        {
            get { return _callSubCategory; }
            set { _callSubCategory = value; }
        }

        private Sector _sector;

        public Sector Sector
        {
            get { return _sector; }
            set { _sector = value; }
        }

        public CallStatus CallStatus
        {
            get { return _callStatus; }
            set { _callStatus = value; }
        }
        
        public User UserFinish
        {
            get { return _userFinish; }
            set { _userFinish = value; }
        }

        public User UserOpen
        {
            get { return _userOpen; }
            set { _userOpen = value; }
        }

        public string SolutionDescription
        {
            get { return _solutionDescription; }
            set { _solutionDescription = value; }
        }

        public string ProblemDescription
        {
            get { return _problemDescription; }
            set { _problemDescription = value; }
        }

        public DateTime? DateClosing
        {
            get { return _dateClosing; }
            set { _dateClosing = value; }
        }
        public DateTime? DateOpening
        {
            get { return _dateOpening; }
            set { _dateOpening = value; }
        } 

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public List<Annex> Annex
        {
            get { return _annex; }
            set { _annex = value; }
        }

        public string Observation
        {
            get { return _observation; }
            set { _observation = value; }
        }

        public Call()
        {

        }
    }
}